package com.onlygx.dva.config.annotation.security;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 判断当前用户是否有指定权限
 * @author 高祥
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RequirePerms {

    String[] value();

    AuthNorm authNorm() default AuthNorm.OR;
}
